package com.zmn.plat.common.dto.product.tariff.category;

import com.zmn.plat.common.dto.product.tariff.base.BaseTariffDIO;
import lombok.Data;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * @author tanbiao
 * @description
 * @modifier
 * @since 2020/8/27 11:14
 **/
@Data
@Valid
@ToString(callSuper = true)
public class TariffCategoryRelationDIO extends BaseTariffDIO {
    private static final long serialVersionUID = 6463981433930901014L;

    /**
     * 计价器二级产品分类ID
     */
    @NotNull(message = "showCategId不能为空")
    @Positive(message = "showCategId必须为大于0的正整数")
    private Integer showCategId;
}
